﻿using SaiLing.Paging;
using SaiLing.SingleSignOn.Domain.Entities.DataTransferObject;
using SaiLing.SingleSignOn.Domain.Entities.System;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SaiLing.SingleSignOn.Application.Service.Interfaces.System
{
    public interface IPositionService : IBaseService<Position>
    {
        Task<PageData<PositionDTO>> PageList(int pageIndex, int pageSize, string name);

        Task<IEnumerable<Position>> List(string name);

        Task<int> Create(Position entity);

        Task<int> Edit(Position entity);

        Task<int> Delete(Position[] entityies);
    }
}
